export const parseLifeMilestone = (lifeMilestone) => {
    return (lifeMilestone || [])?.map((item => {
        return {
            ...item,
            milestoneEvent: item.milestoneEvent.split('、')
        }
    }))
}

export const convertToLifeMilestone = (lifeMilestone) => {
    return (lifeMilestone || [])?.map((item => {
        return {
            ...item,
            milestoneEvent: item.milestoneEvent.join('、')
        }
    }))
}